f = open("D:/data/compKeyData/data/data_after_process.txt", 'r', encoding="utf-8")
f_outcome = open("D:/data/compKeyData/data/tempSearchData.txt", 'a', encoding="utf-8")
lines = f.readlines()
cnt = 0
for line in lines:
    if len(line) == 1:
        continue
    cnt += 1
    f_outcome.write(line)

    if cnt == 10000:
        break

